import Vue from 'vue'

// 引入的 vant组件
import {
  List, Form,
  Field, Button,
  NavBar, Tabbar,
  TabbarItem, Icon,
  Tab, Tabs,
  Cell, PullRefresh,
  ActionSheet, Dialog,
  Popup, Row,
  Col, Badge, Search,
  Divider, Tag, CellGroup,
  Image, DatetimePicker
  , Lazyload
} from 'vant'

const array = [
  List, Form,
  Field, Button,
  NavBar, Tabbar,
  TabbarItem, Icon,
  Tab, Tabs,
  Cell, PullRefresh,
  ActionSheet, Dialog,
  Popup, Row,
  Col, Badge, Search,
  Divider, Tag, CellGroup,
  Image, DatetimePicker,
  Lazyload
]

array.forEach(item => Vue.use(item))
